public class Circle {
    private double R;

    public double getR() {
        return R;
    }

    public void setR(double r) {
        R = r;
    }

    public double getArea(){
        return R*R*3.14159;
    }
}
